package com.doubao.wechat;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 微信集成服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.doubao.user.client", "com.doubao.wechat.feign", "com.doubao.wechat.client"})
@ComponentScan(basePackages = {"com.doubao.wechat", "com.doubao.common", "com.doubao.user.client"})
@MapperScan("com.doubao.wechat.mapper")
public class DoubaoWechatApplication {
    public static void main(String[] args) {
        SpringApplication.run(DoubaoWechatApplication.class, args);
    }
}
